package SV_PRIVILEGE_MISSING;

public class Vulnerable_02 {
    AccessController.doPrivileged(new PrivilegedAction() {
        @Override
        public Object run() {
            field.setAccessible(true);  // <----- SV.PRIVILEGE.MISSING should not be in doPrivileged block
            return null;
        }
    });

     AccessController.doPrivileged((PrivilegedAction) () -> {
        field.setAccessible(true);  // <----- SV.PRIVILEGE.MISSING should not be in doPrivileged block
        return null;
    });
}
